﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WebShop.Domain.Model;

namespace WebShop.Data.IRepository
{
    public interface ICategoryRepository
    {
        int AddCategory(Category Category); // returns an integer 0-Failure, !0-Success
        IEnumerable<Category> GetAllCategories();
        Category GetCategoryByID(Guid ID);
        int ModifyCategory(Category Category); // returns an integer 0-Failure, !0-Success
        int DeleteCategory(Guid CategoryID); // returns an integer 0-Failure, !0-Success
    }
}
